<?php
namespace app\mini\model;

use think\facade\Db;
use app\common\traits\ActionRecordTrait;
use think\Model;
use app\admin\controller\ApiCommon;


class AdminUser extends Model
{
    /**

     * @var string

     */

    protected $name = 'admin_user';


    protected $defaultSoftDelete = 0;


    protected $autoWriteTimestamp = true;

    public function getPersonId($id){
        return $this->where('id',$id)->value('shop_person_id');
    }




}
